import request from '@/utils/request'

// 查询学生体检记录列表
export function listFilesStudentRecord(query) {
  return request({
    url: '/files/filesStudentRecord/list',
    method: 'get',
    params: query
  })
}

// 查询学生体检记录详细
export function getFilesStudentRecord(id) {
  return request({
    url: '/files/filesStudentRecord/' + id,
    method: 'get'
  })
}

// 新增学生体检记录
export function addFilesStudentRecord(data) {
  return request({
    url: '/files/filesStudentRecord',
    method: 'post',
    data: data
  })
}

// 修改学生体检记录
export function updateFilesStudentRecord(data) {
  return request({
    url: '/files/filesStudentRecord',
    method: 'put',
    data: data
  })
}

// 删除学生体检记录
export function delFilesStudentRecord(id) {
  return request({
    url: '/files/filesStudentRecord/' + id,
    method: 'delete'
  })
}
